home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3skel.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_SKELETON_H = 1;
- include("real/objects/r3constructor.js")
- include("oops/r3vector.js")
-
-
- var R3CLID_SKELETON = 133;
-
-
-
-
- // Description: Get joint by index
- // Returns: Boolean, true if succeeded
- // p3: Integer, index
-
- R3SKM_GETJOINT = 133000;
-
- function mR3SKM_GETJOINT(p3) {
- return DoA(this.r3obj, 133000, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Set joint
- // Returns: Boolean
- // p3: Tag[], R3SKA_JNumber, R3SKA_JValue
-
- R3SKM_SETJOINT = 133001;
-
- function mR3SKM_SETJOINT(p3) {
- return Do(this.r3obj, 133001, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Given point in abs space, find nearest joint.
-
- R3SKM_FINDNEARESTJOINT = 133002;
-
- function mR3SKM_FINDNEARESTJOINT() {
- DoA(this.r3obj, 133002, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Given joint index, return bone space.
- // p1: Integer, space (R3SPACE_ABSOLUTE, R3SPACE_OBJECT)
- // p2: Integer, bone index (joint index)
-
- R3SKM_GETBONESPACE = 133003;
-
- function mR3SKM_GETBONESPACE(p1, p2) {
- DoA3(this.r3obj, 133003, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Given polar coord and bone space, evaluate direction vector. Returns norm. vector.
- // p1: r3Vect, polar coord.
- // p2: r3Coordsys, bone space
- // p3: r3Vect, result
-
- R3SKM_EVALJOINTSPACE = 133004;
-
- function mR3SKM_EVALJOINTSPACE(p1, p2, p3) {
- DoA3(this.r3obj, 133004, p1, R3TID_VECTOR, 0, p2, R3TID_COORDSYS, 0, p3, R3TID_VECTOR, 0);
- }
-
- // Description: Attach skeleton to nearest joint of the parent skeleton.
- // Returns: Boolean, TRUE if parent was found
-
- R3SKM_ATTACHTOPARENT = 133005;
-
- function mR3SKM_ATTACHTOPARENT() {
- return DoA(this.r3obj, 133005, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Fix the position of the selected joints
- // p3: Integer, see anchor codes
-
- R3SKM_ANCHORJOINT = 133006;
-
- function mR3SKM_ANCHORJOINT(p3) {
- DoA(this.r3obj, 133006, p3, R3TID_INTEGER, 0);
- }
-
- // Description: make the selected joints rigid (set the R3SKELF_RIGID flag)
- // p3: Boolean, true/false
-
- R3SKM_RIGIDJOINT = 133007;
-
- function mR3SKM_RIGIDJOINT(p3) {
- DoA(this.r3obj, 133007, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Clear anchor and rigid flags from selected joints
-
- R3SKM_RESETJOINT = 133008;
-
- function mR3SKM_RESETJOINT() {
- DoA(this.r3obj, 133008, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Enable/disable IK keyframing/angle keyframing for the selected joints.
- // p3: Boolean, enable/disable
-
- R3SKM_ANIMJOINTASANGLE = 133010;
-
- function mR3SKM_ANIMJOINTASANGLE(p3) {
- DoA(this.r3obj, 133010, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Get state of given joint flag.
- // p1: Integer, flag
- // p2: Boolean[], conflict
- // p3: Boolean[], state
-
- R3SKM_GETJOINTFLAG = 133011;
-
- function mR3SKM_GETJOINTFLAG(p1, p2, p3) {
- DoA3(this.r3obj, 133011, p1, R3TID_INTEGER, 0, p2, R3TID_BOOLEAN, R3TNF_ARRAY, p3, R3TID_BOOLEAN, R3TNF_ARRAY);
- }
-
- // Description: check if there are selected joints in the skeleton hierarchy.
- // Returns: Boolean, TRUE if points selected.
-
- R3SKM_ISJOINTSSELECTED = 133012;
-
- function mR3SKM_ISJOINTSSELECTED() {
- return DoA(this.r3obj, 133012, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Set/Reset (recursively) given joint flag.
- // p1: Integer, flag to be set,
- // p3: Boolean, value
-
- R3SKM_SETJOINTFLAG = 133013;
-
- function mR3SKM_SETJOINTFLAG(p1, p3) {
- DoA2(this.r3obj, 133013, p1, R3TID_INTEGER, 0, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Set joint attribute
- // p3: Tag[], tag list consisting of dynamic tags
-
- R3SKM_SETSELECTEDJOINTATTR = 133014;
-
- function mR3SKM_SETSELECTEDJOINTATTR(p3) {
- Do(this.r3obj, 133014, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Update relative position in parent bone space.
-
- R3SKM_UPDATEPARENTDISPLACEME = 133015;
-
- function mR3SKM_UPDATEPARENTDISPLACEME() {
- DoA(this.r3obj, 133015, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Reset constraints to their minimum values (current bone angles)
- // p3: Integer, joint index
-
- R3SKM_RESETCONSTRAINTS = 133016;
-
- function mR3SKM_RESETCONSTRAINTS(p3) {
- DoA(this.r3obj, 133016, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Set joint flag
- // p3: Boolean, value
-
- R3SKM_SETJOINTFLAGBYINDEX = 133017;
-
- function mR3SKM_SETJOINTFLAGBYINDEX(p3) {
- DoA(this.r3obj, 133017, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Register extension tagsname array. This is only needed in case dynamic tags needs to
- // be accessed through through R3TAGNAME interface (i.e. to make dynamic tags animateable).
- // Returns: Boolean, true if succeeded.
-
- R3SKCM_REGISTERTAGNAMES = 133018;
-
- function mR3SKCM_REGISTERTAGNAMES() {
- return DoA(this.r3obj, 133018, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Register tag names for indexed dynamic tags.
- // Returns: Boolean, true if succeeded.
-
- R3SKCM_REGISTERINDEXEDTAGNAM = 133019;
-
- function mR3SKCM_REGISTERINDEXEDTAGNAM() {
- return DoA(this.r3obj, 133019, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Checks if one of the joint handles associated with 'give joint is selected.
- // Returns: Boolean, true if selected
- // p3: Integer, index of the joint.
-
- R3SKM_ISSELECTED = 133020;
-
- function mR3SKM_ISSELECTED(p3) {
- return DoA(this.r3obj, 133020, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Translate SKA_MapRadius by given value
- // p3: Number, delta
-
- R3SKM_TRANSLATEMAPRAD = 133021;
-
- function mR3SKM_TRANSLATEMAPRAD(p3) {
- DoA(this.r3obj, 133021, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Duplicate and mirror child objects to create symmetric body. Allows the user to create
- // left tentacles and get complete body by duplicating & mirroring them.
- // Returns: Boolean, number of tentacles mirrored
- // p3: Integer, R3SKA_AngleA or R3SKA_AngleB. The default is R3SKA_AngleB (pitching)
-
- R3SKM_DUPMIRCHILDS = 133022;
-
- function mR3SKM_DUPMIRCHILDS(p3) {
- return DoA(this.r3obj, 133022, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Edit bone angles of the selected joints
- // p1: Boolean, disable constraints
- // p3: r3Vect, delta
-
- R3SKM_TRANSLATESELECTEDANGLE = 133023;
-
- function mR3SKM_TRANSLATESELECTEDANGLE(p1, p3) {
- DoA2(this.r3obj, 133023, p1, R3TID_BOOLEAN, 0, p3, R3TID_VECTOR, 0);
- }
-
- // Description: Attach skeleton to all target objects. Points are mapped based on * mapping volume /
- // inside test. Each point may get mapped to more than one skeleton / bone.
- // Returns: Boolean, true if succeeded.
- // p3: Object, target object to be attached.
-
- R3SKM_BINDSKELETONBYVOLUME = 133024;
-
- function mR3SKM_BINDSKELETONBYVOLUME(p3) {
- return DoA(this.r3obj, 133024, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Attach skeleton to all target objects. Each point is attached to one * bone only,
- // based on shortest distance.
- // Returns: Boolean, true if succeeded.
- // p3: Object, target object to be attached.
-
- R3SKM_BINDSKELETONNEAREST = 133026;
-
- function mR3SKM_BINDSKELETONNEAREST(p3) {
- return DoA(this.r3obj, 133026, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Attach given point to the nearest bone of the skeleton.
- // Returns: Boolean, true if succeeded
- // p1: Object, target object
- // p2: Integer, point index
- // p3: r3Vect, target's point (in abs space) to be mapped.
-
- R3SKM_BINDPOINTTONEARESTSKEL = 133027;
-
- function mR3SKM_BINDPOINTTONEARESTSKEL(p1, p2, p3) {
- return DoA3(this.r3obj, 133027, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_VECTOR, 0);
- }
-
- // Description: Change the angles of the given joint.
- // p1: Boolean, if true, disable constraints (constraints are expanded, if needed)
- // p2: Integer, index of the bone
- // p3: r3Vect, delta
-
- R3SKM_TRANSLATEANGLES = 133029;
-
- function mR3SKM_TRANSLATEANGLES(p1, p2, p3) {
- DoA3(this.r3obj, 133029, p1, R3TID_BOOLEAN, 0, p2, R3TID_INTEGER, 0, p3, R3TID_VECTOR, 0);
- }
-
- // Description: Given a point, find nearest skeleton and bone index in a hierarchical skeleton.
- // Returns: Object, nearest skeleton
- // p1: Number, minimum distance, initialize this to max value prior calling.
- // p2: Number, parameter specifying the nearest bone
- // p3: r3Vect, point to be mapped
-
- R3SKM_FINDNEARESTBONE = 133030;
-
- function mR3SKM_FINDNEARESTBONE(p1, p2, p3) {
- return R3ToJS( DoA3(this.r3obj, 133030, p1, R3TID_FLOAT, 0, p2, R3TID_FLOAT, 0, p3, R3TID_VECTOR, 0));
- }
-
- // Description: Attach given target point to bone.
- // p3: Tag[], R3SKA_JointParam, R3SKA_TargetIndex, R3SKA_TargetObject, R3SKA_MapId
-
- R3SKM_BINDPOINTTOJOINT = 133031;
-
- function mR3SKM_BINDPOINTTOJOINT(p3) {
- Do(this.r3obj, 133031, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
-
- R3SKM_RECONSTRUCTBYROOT = 133032;
-
- function mR3SKM_RECONSTRUCTBYROOT() {
- DoA(this.r3obj, 133032, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Given bone index, returns the coord system of the previous bone.
- // p1: Integer, space in which the cs is returned (R3SPACE_ABSOLUTE, R3SPACE_OBJECT)
- // p2: Integer, index of the bone
- // p3: r3Coordsys, result buffer
-
- R3SKM_GETPREVBONESPACE = 133033;
-
- function mR3SKM_GETPREVBONESPACE(p1, p2, p3) {
- DoA3(this.r3obj, 133033, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_COORDSYS, 0);
- }
-
- // Description: Rotate selected bones.
- // p1: r3Vect, rotation axis
- // p3: Number, angle
-
- R3SKM_ROTATESELECTEDBONES = 133034;
-
- function mR3SKM_ROTATESELECTEDBONES(p1, p3) {
- DoA2(this.r3obj, 133034, p1, R3TID_VECTOR, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Update angles when one of the joint positions has changed.
- // p3: Boolean, if true, propagates to children.
-
- R3SKM_UPDATEANGLES = 133035;
-
- function mR3SKM_UPDATEANGLES(p3) {
- DoA(this.r3obj, 133035, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Update joint positions when one or more bone angles has changed.
- // p1: Boolean, if true, constraints are expanded, if needed.
- // p3: Boolean, if true, bone lengths are updated.
-
- R3SKM_UPDATEPOSITIONS = 133036;
-
- function mR3SKM_UPDATEPOSITIONS(p1, p3) {
- DoA2(this.r3obj, 133036, p1, R3TID_BOOLEAN, 0, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Attach selected points to selected bone.
- // Returns: Boolean, true if succeeded
- // p3: Object, object to be attached
-
- R3SKM_BINDSELECTED = 133037;
-
- function mR3SKM_BINDSELECTED(p3) {
- return DoA(this.r3obj, 133037, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Detach given point from the given joint. R3SKA_MapId is needed * if multi mapping is
- // used to identify the map set. *
- // p3: Tag[], R3SKA_TargetIndex, R3SKA_TargetObject, R3SKA_MapId
-
- R3SKM_UNBINDPOINTFROMJOINT = 133038;
-
- function mR3SKM_UNBINDPOINTFROMJOINT(p3) {
- Do(this.r3obj, 133038, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Detach selected points from the selected bone.
- // p3: Object, target object to be detached.
-
- R3SKM_UNBINDSELECTED = 133039;
-
- function mR3SKM_UNBINDSELECTED(p3) {
- DoA(this.r3obj, 133039, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Detach given point from the skeleton.
-
- R3SKM_UNBINDPOINTFROMSKELETO = 133040;
-
- function mR3SKM_UNBINDPOINTFROMSKELETO() {
- DoA(this.r3obj, 133040, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Set fidelity of the given target point.
- // Returns: Boolean, true if succeeded
- // p1: Number, fidelity
- // p2: Integer, index of the target point
- // p3: Object, target object
-
- R3SKM_SETFIDELITYTOPOINT = 133041;
-
- function mR3SKM_SETFIDELITYTOPOINT(p1, p2, p3) {
- return DoA3(this.r3obj, 133041, p1, R3TID_FLOAT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Set fidelity to selected points attached to the selected bone.
- // p1: Object, target object
- // p3: Number, fidelity
-
- R3SKM_SETFIDELITYTOSELECTED = 133042;
-
- function mR3SKM_SETFIDELITYTOSELECTED(p1, p3) {
- DoA2(this.r3obj, 133042, p1, R3TID_OBJECT, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Set weight of the given target point. The stronger the weight, the stronger the
- // bone affects the point.
- // Returns: Boolean, true if succeeded
- // p1: Number, weight
- // p2: Integer, index of the target point
- // p3: Object, target object
-
- R3SKM_SETWEIGHTTOPOINT = 133043;
-
- function mR3SKM_SETWEIGHTTOPOINT(p1, p2, p3) {
- return DoA3(this.r3obj, 133043, p1, R3TID_FLOAT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Set weight to selected points attached to the selected bone.
- // p1: Object, target object
- // p3: Number, weight
-
- R3SKM_SETWEIGHTTOSELECTED = 133044;
-
- function mR3SKM_SETWEIGHTTOSELECTED(p1, p3) {
- DoA2(this.r3obj, 133044, p1, R3TID_OBJECT, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Fetch fidelity of the given target point.
- // Returns: Boolean, true if succeeded
- // p1: Number, fidelity
- // p2: Integer, index of the target point
- // p3: Object, target object
-
- R3SKM_GETFIDELITYFROMPOINT = 133045;
-
- function mR3SKM_GETFIDELITYFROMPOINT(p1, p2, p3) {
- return DoA3(this.r3obj, 133045, p1, R3TID_FLOAT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Get fidelity from selected points attached to the selected bone.
- // Returns: Boolean, true if all points had the same fidelitu value.
- // p1: Object, target object
- // p3: Number, fidelity
-
- R3SKM_GETFIDELITYFROMSELECTE = 133046;
-
- function mR3SKM_GETFIDELITYFROMSELECTE(p1, p3) {
- return DoA2(this.r3obj, 133046, p1, R3TID_OBJECT, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Get weight of the given target point. The stronger the weight, the stronger the
- // bone affects the point.
- // Returns: Boolean, true if succeeded
- // p1: Number, weight
- // p2: Integer, index of the target point
- // p3: Object, target object
-
- R3SKM_GETWEIGHTFROMPOINT = 133047;
-
- function mR3SKM_GETWEIGHTFROMPOINT(p1, p2, p3) {
- return DoA3(this.r3obj, 133047, p1, R3TID_FLOAT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Get weight of the selected points attached to the selected bone.
- // Returns: Boolean, true if all points had the same weight.
- // p1: Object, target object
- // p3: Number, weight
-
- R3SKM_GETWEIGHTFROMSELECTED = 133048;
-
- function mR3SKM_GETWEIGHTFROMSELECTED(p1, p3) {
- return DoA2(this.r3obj, 133048, p1, R3TID_OBJECT, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Detach all objects from this skeleton. If p3 is true, binding information * associated with
- // the target objects is not deleted.
- // p3: Boolean, keep target data
-
- R3SKM_UNBINDSKELETON = 133049;
-
- function mR3SKM_UNBINDSKELETON(p3) {
- DoA(this.r3obj, 133049, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Detach given object from the skeleton
- // Returns: Boolean, true if succeeded
- // p1: Boolean, if true unbinds sub objects as well
- // p3: Object, target object to be removed
-
- R3SKM_UNBINDOBJECTFROMSKELET = 133050;
-
- function mR3SKM_UNBINDOBJECTFROMSKELET(p1, p3) {
- return DoA2(this.r3obj, 133050, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Edit min constraint angles
-
- R3SKM_TRANSLATESELECTEDMINAN = 133051;
-
- function mR3SKM_TRANSLATESELECTEDMINAN() {
- DoA(this.r3obj, 133051, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Edit max constraint angles
-
- R3SKM_TRANSLATESELECTEDMAXAN = 133052;
-
- function mR3SKM_TRANSLATESELECTEDMAXAN() {
- DoA(this.r3obj, 133052, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Edit min constraint angle
- // p1: Integer, index of the joint
-
- R3SKM_TRANSLATEMINANGLE = 133053;
-
- function mR3SKM_TRANSLATEMINANGLE(p1) {
- DoA2(this.r3obj, 133053, p1, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Edit max constraint angle
- // p1: Integer, index of the bone
-
- R3SKM_TRANSLATEMAXANGLE = 133054;
-
- function mR3SKM_TRANSLATEMAXANGLE(p1) {
- DoA2(this.r3obj, 133054, p1, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Give the current root postion, as determined by our parent * skeleton and our displacement
- // offset.
- // p1: Integer, space
-
- R3SKM_GETROOTPOS = 133055;
-
- function mR3SKM_GETROOTPOS(p1) {
- DoA2(this.r3obj, 133055, p1, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Select target points mapped to the selected bones of the skeleton
- // Returns: Integer, number of points selected
-
- R3SKM_SELECTTARGETPOINTS = 133056;
-
- function mR3SKM_SELECTTARGETPOINTS() {
- return DoA(this.r3obj, 133056, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Deselect target points mapped to the selected bones of the skeleton
- // Returns: Integer, number of points deselected
-
- R3SKM_DESELECTTARGETPOINTS = 133057;
-
- function mR3SKM_DESELECTTARGETPOINTS() {
- return DoA(this.r3obj, 133057, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Attach given point to bones using mapping volume
- // Returns: Boolean, true if succeeded
- // p1: Object, target object
- // p2: Integer, point index
- // p3: r3Vect, target's point (in abs space) to be mapped.
-
- R3SKM_BINDPOINTTOSKELETONBYV = 133058;
-
- function mR3SKM_BINDPOINTTOSKELETONBYV(p1, p2, p3) {
- return DoA3(this.r3obj, 133058, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_VECTOR, 0);
- }
-
- // Description: When skeleton is bound for the first time, native pose is allocated and created. *
- // When skeleton is modified, the deformation is computed as nativepose -> currentpose. This method discards
- // the native pose data. Called when the skeleton is unbind.
-
- R3SKM_DISPOSENATIVESTATE = 133059;
-
- function mR3SKM_DISPOSENATIVESTATE() {
- DoA(this.r3obj, 133059, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Bind selected handles to nearest bones.
- // Virtual method
-
- R3SKM_BINDSELECTEDTONEAREST = 133060;
-
- function mR3SKM_BINDSELECTEDTONEAREST() {
- DoA(this.r3obj, 133060, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Binding system uses normalized parametrization to specify points position on the skeleton so that
- // deleting joints etc. can be easily handled. This method converts given bone parameter (0 ...1)
- // to joint index.
- // p1: Number, parameter value 0 ... 1
- // p3: Integer, joint index.
-
- R3SKM_BONEPARAMTOINDEX = 133061;
-
- function mR3SKM_BONEPARAMTOINDEX(p1, p3) {
- DoA2(this.r3obj, 133061, p1, R3TID_FLOAT, 0, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Binding system uses normalized parametrization to specify points position on the skeleton so that
- // deleting joints etc. can be easily handled. This method converts given joint index to normalized
- // parameter value.
- // p1: Integer, joint index 0 ... count-1
- // p3: Number, parameter value
-
- R3SKM_BONEINDEXTOPARAM = 133062;
-
- function mR3SKM_BONEINDEXTOPARAM(p1, p3) {
- DoA2(this.r3obj, 133062, p1, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Given a point, find nearest skeleton and bone param in a hierarchical skeleton.
- // Returns: Object, nearest skeleton
- // p1: Number, minimum distance, initialize this to max value prior calling.
- // p2: Number, parameter specifying the bone
- // p3: r3Vect, point
-
- R3SKM_FINDNEARESTSELECTEDBON = 133063;
-
- function mR3SKM_FINDNEARESTSELECTEDBON(p1, p2, p3) {
- return R3ToJS( DoA3(this.r3obj, 133063, p1, R3TID_FLOAT, 0, p2, R3TID_FLOAT, 0, p3, R3TID_VECTOR, 0));
- }
-
- // Virtual method
-
- R3SKM_private2 = 133064;
-
- function mR3SKM_private2() {
- DoA(this.r3obj, 133064, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Find out the initial bone orientation.
- // Returns: Boolean, TRUE if initial orientation was found. FALSE if undefined
- // p1: Integer, bone index
- // p3: r3Coordsys, coordinate system
-
- R3SKM_GETORIGBONE = 133065;
-
- function mR3SKM_GETORIGBONE(p1, p3) {
- return DoA2(this.r3obj, 133065, p1, R3TID_INTEGER, 0, p3, R3TID_COORDSYS, 0);
- }
-
- // Description: Set initial bone orientation. The transformation defined by * the bone is computed as 'current
- // orientation - initial orientation'.
- // Returns: Boolean, true if succeeded
- // p1: Integer, index of the bone
-
- R3SKM_SETORIGBONE = 133066;
-
- function mR3SKM_SETORIGBONE(p1) {
- return DoA2(this.r3obj, 133066, p1, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Given binding index, fetch the unique identifier specifying target objects bound * to this skeleton.
- // Returns: Integer, binding identifier
- // p3: Integer, index (0 ... R3SKA_MapCount-1)
-
- R3SKM_GETBINDINGID = 133067;
-
- function mR3SKM_GETBINDINGID(p3) {
- return DoA(this.r3obj, 133067, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Bind all target points in the given target object to the nearest bones.
- // Returns: Integer, number of points bound
- // p1: Boolean, if true binds sub objects as well
- // p3: Object, target to be bound
-
- R3SKM_BINDOBJECTTOSKELETON = 133068;
-
- function mR3SKM_BINDOBJECTTOSKELETON(p1, p3) {
- return DoA2(this.r3obj, 133068, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
-
-
-
- R3SKA_Joints = 133501;
- function SetR3SKA_Joints(value) {
- R3Set(this.r3obj, R3SKA_Joints, value, R3TID_OBJECT, 0);
- }
-
- function GetR3SKA_Joints() {
- return R3ToJS(R3Get(this.r3obj, R3SKA_Joints, R3TID_OBJECT, 0));
- }
-
- R3SKA_JointCount = 133502;
- function GetR3SKA_JointCount() {
- return R3Get(this.r3obj, R3SKA_JointCount, R3TID_INTEGER, 0);
- }
-
- R3SKA_CurrentMap = 133503;
- function SetR3SKA_CurrentMap(value) {
- R3Set(this.r3obj, R3SKA_CurrentMap, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_CurrentMap() {
- return R3Get(this.r3obj, R3SKA_CurrentMap, R3TID_INTEGER, 0);
- }
-
- R3SKA_Type = 133504;
- function SetR3SKA_Type(value) {
- R3Set(this.r3obj, R3SKA_Type, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_Type() {
- return R3Get(this.r3obj, R3SKA_Type, R3TID_INTEGER, 0);
- }
-
- R3SKA_ParentIndex = 133505;
- function SetR3SKA_ParentIndex(value) {
- R3Set(this.r3obj, R3SKA_ParentIndex, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_ParentIndex() {
- return R3Get(this.r3obj, R3SKA_ParentIndex, R3TID_INTEGER, 0);
- }
-
- R3SKA_ParentOffset = 133506;
- function SetR3SKA_ParentOffset(value) {
- R3Set(this.r3obj, R3SKA_ParentOffset, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_ParentOffset() {
- return R3Get(this.r3obj, R3SKA_ParentOffset, R3TID_VECTOR, 0);
- }
-
- R3SKA_AxisCA = 133514;
- function SetR3SKA_AxisCA(value) {
- R3Set(this.r3obj, R3SKA_AxisCA, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_AxisCA() {
- return R3Get(this.r3obj, R3SKA_AxisCA, R3TID_VECTOR, 0);
- }
-
- R3SKA_AxisCB = 133515;
- function SetR3SKA_AxisCB(value) {
- R3Set(this.r3obj, R3SKA_AxisCB, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_AxisCB() {
- return R3Get(this.r3obj, R3SKA_AxisCB, R3TID_VECTOR, 0);
- }
-
- R3SKA_AxisCC = 133516;
- function SetR3SKA_AxisCC(value) {
- R3Set(this.r3obj, R3SKA_AxisCC, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_AxisCC() {
- return R3Get(this.r3obj, R3SKA_AxisCC, R3TID_VECTOR, 0);
- }
-
- R3SKA_Position0 = 133517;
- function SetR3SKA_Position0(value) {
- R3Set(this.r3obj, R3SKA_Position0, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_Position0() {
- return R3Get(this.r3obj, R3SKA_Position0, R3TID_VECTOR, 0);
- }
-
- R3SKA_AngleA = 133518;
- function SetR3SKA_AngleA(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_AngleA, index, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SKA_AngleA(index) {
- return R3GetIndexed(this.r3obj, R3SKA_AngleA, index, R3TID_FLOAT, 0);
- }
-
- R3SKA_IKPosition = 133519;
- function SetR3SKA_IKPosition(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_IKPosition, index, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_IKPosition(index) {
- return R3GetIndexed(this.r3obj, R3SKA_IKPosition, index, R3TID_VECTOR, 0);
- }
-
- R3SKA_IKSampling = 133522;
- function SetR3SKA_IKSampling(value) {
- R3Set(this.r3obj, R3SKA_IKSampling, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_IKSampling() {
- return R3Get(this.r3obj, R3SKA_IKSampling, R3TID_INTEGER, 0);
- }
-
- R3SKA_IKDepth = 133523;
- function SetR3SKA_IKDepth(value) {
- R3Set(this.r3obj, R3SKA_IKDepth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_IKDepth() {
- return R3Get(this.r3obj, R3SKA_IKDepth, R3TID_INTEGER, 0);
- }
-
- R3SKA_PreferredAnimMth = 133524;
- function SetR3SKA_PreferredAnimMth(value) {
- R3Set(this.r3obj, R3SKA_PreferredAnimMth, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_PreferredAnimMth() {
- return R3Get(this.r3obj, R3SKA_PreferredAnimMth, R3TID_INTEGER, 0);
- }
-
- R3SKA_AngleB = 133525;
- function SetR3SKA_AngleB(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_AngleB, index, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SKA_AngleB(index) {
- return R3GetIndexed(this.r3obj, R3SKA_AngleB, index, R3TID_FLOAT, 0);
- }
-
- R3SKA_AngleC = 133526;
- function SetR3SKA_AngleC(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_AngleC, index, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SKA_AngleC(index) {
- return R3GetIndexed(this.r3obj, R3SKA_AngleC, index, R3TID_FLOAT, 0);
- }
-
- R3SKA_Angle = 133527;
- function SetR3SKA_Angle(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_Angle, index, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_Angle(index) {
- return R3GetIndexed(this.r3obj, R3SKA_Angle, index, R3TID_VECTOR, 0);
- }
-
- R3SKA_Length = 133528;
- function SetR3SKA_Length(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_Length, index, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SKA_Length(index) {
- return R3GetIndexed(this.r3obj, R3SKA_Length, index, R3TID_FLOAT, 0);
- }
-
- R3SKA_UseMapVolume = 133529;
- function SetR3SKA_UseMapVolume(value) {
- R3Set(this.r3obj, R3SKA_UseMapVolume, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_UseMapVolume() {
- return R3Get(this.r3obj, R3SKA_UseMapVolume, R3TID_INTEGER, 0);
- }
-
- R3SKA_MapRadius = 133530;
- function SetR3SKA_MapRadius(value) {
- R3Set(this.r3obj, R3SKA_MapRadius, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SKA_MapRadius() {
- return R3Get(this.r3obj, R3SKA_MapRadius, R3TID_FLOAT, 0);
- }
-
- R3SKA_Anchor = 133531;
- function SetR3SKA_Anchor(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_Anchor, index, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_Anchor(index) {
- return R3GetIndexed(this.r3obj, R3SKA_Anchor, index, R3TID_INTEGER, 0);
- }
-
- R3SKA_DrawConstraints = 133532;
- function SetR3SKA_DrawConstraints(value) {
- R3Set(this.r3obj, R3SKA_DrawConstraints, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SKA_DrawConstraints() {
- return R3Get(this.r3obj, R3SKA_DrawConstraints, R3TID_BOOLEAN, 0);
- }
-
- var R3SKA_BoneIndexes = 133533; // Number
- R3SKA_RotationHandles = 133534;
- function SetR3SKA_RotationHandles(value) {
- R3Set(this.r3obj, R3SKA_RotationHandles, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SKA_RotationHandles() {
- return R3Get(this.r3obj, R3SKA_RotationHandles, R3TID_BOOLEAN, 0);
- }
-
- var R3SKA_JointParam = 133535; // Number[]
- var R3SKA_TargetIndex = 133536; // Integer
- var R3SKA_TargetObject = 133537; // Object
- var R3SKA_MapId = 133538; // Integer
- var R3SKA_Fidelity = 133539; // Number[]
- var R3SKA_Weight = 133540; // Number[]
- R3SKA_MapCount = 133541;
- function GetR3SKA_MapCount() {
- return R3Get(this.r3obj, R3SKA_MapCount, R3TID_INTEGER, 0);
- }
-
- R3SKA_Interpolation = 133542;
- function SetR3SKA_Interpolation(value) {
- R3Set(this.r3obj, R3SKA_Interpolation, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_Interpolation() {
- return R3Get(this.r3obj, R3SKA_Interpolation, R3TID_INTEGER, 0);
- }
-
- R3SKA_AngleSystem = 133543;
- function SetR3SKA_AngleSystem(value) {
- R3Set(this.r3obj, R3SKA_AngleSystem, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_AngleSystem() {
- return R3Get(this.r3obj, R3SKA_AngleSystem, R3TID_INTEGER, 0);
- }
-
- R3SKA_MinAngle = 133544;
- function SetR3SKA_MinAngle(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_MinAngle, index, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_MinAngle(index) {
- return R3GetIndexed(this.r3obj, R3SKA_MinAngle, index, R3TID_VECTOR, 0);
- }
-
- R3SKA_MaxAngle = 133545;
- function SetR3SKA_MaxAngle(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_MaxAngle, index, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_MaxAngle(index) {
- return R3GetIndexed(this.r3obj, R3SKA_MaxAngle, index, R3TID_VECTOR, 0);
- }
-
- var R3SKA_IKSpace = 133546; // Boolean
- R3SKA_Thickness = 133547;
- function SetR3SKA_Thickness(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_Thickness, index, value, R3TID_FLOAT, 0);
- }
-
- function GetR3SKA_Thickness(index) {
- return R3GetIndexed(this.r3obj, R3SKA_Thickness, index, R3TID_FLOAT, 0);
- }
-
- R3SKA_JointPosition = 133548;
- function SetR3SKA_JointPosition(index, value) {
- R3SetIndexed(this.r3obj, R3SKA_JointPosition, index, value, R3TID_VECTOR, 0);
- }
-
- function GetR3SKA_JointPosition(index) {
- return R3GetIndexed(this.r3obj, R3SKA_JointPosition, index, R3TID_VECTOR, 0);
- }
-
- R3SKA_AttachOrientation = 133549;
- function SetR3SKA_AttachOrientation(value) {
- R3Set(this.r3obj, R3SKA_AttachOrientation, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SKA_AttachOrientation() {
- return R3Get(this.r3obj, R3SKA_AttachOrientation, R3TID_BOOLEAN, 0);
- }
-
- var R3SKA_IKNoChange = 133550; // Boolean
- R3SKA_AnimRootPos = 133551;
- function SetR3SKA_AnimRootPos(value) {
- R3Set(this.r3obj, R3SKA_AnimRootPos, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SKA_AnimRootPos() {
- return R3Get(this.r3obj, R3SKA_AnimRootPos, R3TID_BOOLEAN, 0);
- }
-
- R3SKA_DrawAngles = 133552;
- function SetR3SKA_DrawAngles(value) {
- R3Set(this.r3obj, R3SKA_DrawAngles, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3SKA_DrawAngles() {
- return R3Get(this.r3obj, R3SKA_DrawAngles, R3TID_BOOLEAN, 0);
- }
-
- R3SKA_TargetId = 1224870568;
- function SetR3SKA_TargetId(value) {
- R3Set(this.r3obj, R3SKA_TargetId, value, R3TID_INTEGER, 0);
- }
-
- function GetR3SKA_TargetId() {
- return R3Get(this.r3obj, R3SKA_TargetId, R3TID_INTEGER, 0);
- }
-
- var R3SKA_FIRSTDYNATTR = 133800;
- var R3SK_JOINTNAMELEN = 16;
- var R3SK_NOINDEX = -1;
- var R3IKM_BOTH = 0;
- var R3IKM_PARENT = 1;
- var R3IKM_TAIL = 2;
- var R3IKM_NONE = 3;
- var R3JOINTF_ANCHOR = 1;
- var R3JOINTF_RIGID = 2;
- var R3JOINTF_IK = 4;
- var R3JOINTF_ANGLE = 8;
- var R3JOINTF_NOHEADIK = 16;
- var R3JOINTF_NOTAILIK = 32;
- var R3JOINTF_POSCHANGED = 64;
- var R3JOINTF_LENCHANGED = 128;
- var R3JOINTF_ANGLECHANGED = 256;
- var R3SKHT_JOINT = 0;
- var R3SKHT_TORSION = 1;
- var R3SKHT_MINA = 2;
- var R3SKHT_MAXA = 3;
- var R3SKHT_MINB = 4;
- var R3SKHT_MAXB = 5;
- var R3SKHT_BONE = 6;
- var R3SKT_INVERSEKINEMATICS = 0;
- var R3SKT_FORWARDKINEMATICS = 1;
- var R3SKT_MOVE = 2;
- var R3SKT_TELESCOPE = 3;
- var R3SKT_NATIVE = 4;
- var R3SKT_IKHEAD = 5;
- var R3SKT_IKTAIL = 6;
- var R3SKI_ANGLE = 0;
- var R3SKI_QUATERNION = 1;
- var R3SKS_HPT = 0;
- var R3SKS_HPB = 1;
- var R3ANIMMTH_ANGLES = 0;
- var R3ANIMMTH_POSITION = 1;
- var R3ANIMMTH_NONE = 2;
- var R3MAXIKDEPTH = 61439;
-
-
- function r3Skeleton () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_SKELETON, arguments);
- }
- // Methods
- this.GETJOINT=mR3SKM_GETJOINT;
- this.SETJOINT=mR3SKM_SETJOINT;
- this.FINDNEARESTJOINT=mR3SKM_FINDNEARESTJOINT;
- this.GETBONESPACE=mR3SKM_GETBONESPACE;
- this.EVALJOINTSPACE=mR3SKM_EVALJOINTSPACE;
- this.ATTACHTOPARENT=mR3SKM_ATTACHTOPARENT;
- this.ANCHORJOINT=mR3SKM_ANCHORJOINT;
- this.RIGIDJOINT=mR3SKM_RIGIDJOINT;
- this.RESETJOINT=mR3SKM_RESETJOINT;
- this.ANIMJOINTASANGLE=mR3SKM_ANIMJOINTASANGLE;
- this.GETJOINTFLAG=mR3SKM_GETJOINTFLAG;
- this.ISJOINTSSELECTED=mR3SKM_ISJOINTSSELECTED;
- this.SETJOINTFLAG=mR3SKM_SETJOINTFLAG;
- this.SETSELECTEDJOINTATTR=mR3SKM_SETSELECTEDJOINTATTR;
- this.UPDATEPARENTDISPLACEME=mR3SKM_UPDATEPARENTDISPLACEME;
- this.RESETCONSTRAINTS=mR3SKM_RESETCONSTRAINTS;
- this.SETJOINTFLAGBYINDEX=mR3SKM_SETJOINTFLAGBYINDEX;
- this.REGISTERTAGNAMES=mR3SKCM_REGISTERTAGNAMES;
- this.REGISTERINDEXEDTAGNAM=mR3SKCM_REGISTERINDEXEDTAGNAM;
- this.ISSELECTED=mR3SKM_ISSELECTED;
- this.TRANSLATEMAPRAD=mR3SKM_TRANSLATEMAPRAD;
- this.DUPMIRCHILDS=mR3SKM_DUPMIRCHILDS;
- this.TRANSLATESELECTEDANGLE=mR3SKM_TRANSLATESELECTEDANGLE;
- this.BINDSKELETONBYVOLUME=mR3SKM_BINDSKELETONBYVOLUME;
- this.BINDSKELETONNEAREST=mR3SKM_BINDSKELETONNEAREST;
- this.BINDPOINTTONEARESTSKEL=mR3SKM_BINDPOINTTONEARESTSKEL;
- this.TRANSLATEANGLES=mR3SKM_TRANSLATEANGLES;
- this.FINDNEARESTBONE=mR3SKM_FINDNEARESTBONE;
- this.BINDPOINTTOJOINT=mR3SKM_BINDPOINTTOJOINT;
- this.RECONSTRUCTBYROOT=mR3SKM_RECONSTRUCTBYROOT;
- this.GETPREVBONESPACE=mR3SKM_GETPREVBONESPACE;
- this.ROTATESELECTEDBONES=mR3SKM_ROTATESELECTEDBONES;
- this.UPDATEANGLES=mR3SKM_UPDATEANGLES;
- this.UPDATEPOSITIONS=mR3SKM_UPDATEPOSITIONS;
- this.BINDSELECTED=mR3SKM_BINDSELECTED;
- this.UNBINDPOINTFROMJOINT=mR3SKM_UNBINDPOINTFROMJOINT;
- this.UNBINDSELECTED=mR3SKM_UNBINDSELECTED;
- this.UNBINDPOINTFROMSKELETO=mR3SKM_UNBINDPOINTFROMSKELETO;
- this.SETFIDELITYTOPOINT=mR3SKM_SETFIDELITYTOPOINT;
- this.SETFIDELITYTOSELECTED=mR3SKM_SETFIDELITYTOSELECTED;
- this.SETWEIGHTTOPOINT=mR3SKM_SETWEIGHTTOPOINT;
- this.SETWEIGHTTOSELECTED=mR3SKM_SETWEIGHTTOSELECTED;
- this.GETFIDELITYFROMPOINT=mR3SKM_GETFIDELITYFROMPOINT;
- this.GETFIDELITYFROMSELECTE=mR3SKM_GETFIDELITYFROMSELECTE;
- this.GETWEIGHTFROMPOINT=mR3SKM_GETWEIGHTFROMPOINT;
- this.GETWEIGHTFROMSELECTED=mR3SKM_GETWEIGHTFROMSELECTED;
- this.UNBINDSKELETON=mR3SKM_UNBINDSKELETON;
- this.UNBINDOBJECTFROMSKELET=mR3SKM_UNBINDOBJECTFROMSKELET;
- this.TRANSLATESELECTEDMINAN=mR3SKM_TRANSLATESELECTEDMINAN;
- this.TRANSLATESELECTEDMAXAN=mR3SKM_TRANSLATESELECTEDMAXAN;
- this.TRANSLATEMINANGLE=mR3SKM_TRANSLATEMINANGLE;
- this.TRANSLATEMAXANGLE=mR3SKM_TRANSLATEMAXANGLE;
- this.GETROOTPOS=mR3SKM_GETROOTPOS;
- this.SELECTTARGETPOINTS=mR3SKM_SELECTTARGETPOINTS;
- this.DESELECTTARGETPOINTS=mR3SKM_DESELECTTARGETPOINTS;
- this.BINDPOINTTOSKELETONBYV=mR3SKM_BINDPOINTTOSKELETONBYV;
- this.DISPOSENATIVESTATE=mR3SKM_DISPOSENATIVESTATE;
- this.BINDSELECTEDTONEAREST=mR3SKM_BINDSELECTEDTONEAREST;
- this.BONEPARAMTOINDEX=mR3SKM_BONEPARAMTOINDEX;
- this.BONEINDEXTOPARAM=mR3SKM_BONEINDEXTOPARAM;
- this.FINDNEARESTSELECTEDBON=mR3SKM_FINDNEARESTSELECTEDBON;
- this.private2=mR3SKM_private2;
- this.GETORIGBONE=mR3SKM_GETORIGBONE;
- this.SETORIGBONE=mR3SKM_SETORIGBONE;
- this.GETBINDINGID=mR3SKM_GETBINDINGID;
- this.BINDOBJECTTOSKELETON=mR3SKM_BINDOBJECTTOSKELETON;
-
- // Attributes
- this.GetJoints=GetR3SKA_Joints;
- this.SetJoints=SetR3SKA_Joints;
- this.GetJointCount=GetR3SKA_JointCount;
- this.GetCurrentMap=GetR3SKA_CurrentMap;
- this.SetCurrentMap=SetR3SKA_CurrentMap;
- this.GetType=GetR3SKA_Type;
- this.SetType=SetR3SKA_Type;
- this.GetParentIndex=GetR3SKA_ParentIndex;
- this.SetParentIndex=SetR3SKA_ParentIndex;
- this.GetParentOffset=GetR3SKA_ParentOffset;
- this.SetParentOffset=SetR3SKA_ParentOffset;
- this.GetAxisCA=GetR3SKA_AxisCA;
- this.SetAxisCA=SetR3SKA_AxisCA;
- this.GetAxisCB=GetR3SKA_AxisCB;
- this.SetAxisCB=SetR3SKA_AxisCB;
- this.GetAxisCC=GetR3SKA_AxisCC;
- this.SetAxisCC=SetR3SKA_AxisCC;
- this.GetPosition0=GetR3SKA_Position0;
- this.SetPosition0=SetR3SKA_Position0;
- this.GetAngleA=GetR3SKA_AngleA;
- this.SetAngleA=SetR3SKA_AngleA;
- this.GetIKPosition=GetR3SKA_IKPosition;
- this.SetIKPosition=SetR3SKA_IKPosition;
- this.GetIKSampling=GetR3SKA_IKSampling;
- this.SetIKSampling=SetR3SKA_IKSampling;
- this.GetIKDepth=GetR3SKA_IKDepth;
- this.SetIKDepth=SetR3SKA_IKDepth;
- this.GetPreferredAnimMth=GetR3SKA_PreferredAnimMth;
- this.SetPreferredAnimMth=SetR3SKA_PreferredAnimMth;
- this.GetAngleB=GetR3SKA_AngleB;
- this.SetAngleB=SetR3SKA_AngleB;
- this.GetAngleC=GetR3SKA_AngleC;
- this.SetAngleC=SetR3SKA_AngleC;
- this.GetAngle=GetR3SKA_Angle;
- this.SetAngle=SetR3SKA_Angle;
- this.GetLength=GetR3SKA_Length;
- this.SetLength=SetR3SKA_Length;
- this.GetUseMapVolume=GetR3SKA_UseMapVolume;
- this.SetUseMapVolume=SetR3SKA_UseMapVolume;
- this.GetMapRadius=GetR3SKA_MapRadius;
- this.SetMapRadius=SetR3SKA_MapRadius;
- this.GetAnchor=GetR3SKA_Anchor;
- this.SetAnchor=SetR3SKA_Anchor;
- this.GetDrawConstraints=GetR3SKA_DrawConstraints;
- this.SetDrawConstraints=SetR3SKA_DrawConstraints;
- this.GetRotationHandles=GetR3SKA_RotationHandles;
- this.SetRotationHandles=SetR3SKA_RotationHandles;
- this.GetMapCount=GetR3SKA_MapCount;
- this.GetInterpolation=GetR3SKA_Interpolation;
- this.SetInterpolation=SetR3SKA_Interpolation;
- this.GetAngleSystem=GetR3SKA_AngleSystem;
- this.SetAngleSystem=SetR3SKA_AngleSystem;
- this.GetMinAngle=GetR3SKA_MinAngle;
- this.SetMinAngle=SetR3SKA_MinAngle;
- this.GetMaxAngle=GetR3SKA_MaxAngle;
- this.SetMaxAngle=SetR3SKA_MaxAngle;
- this.GetThickness=GetR3SKA_Thickness;
- this.SetThickness=SetR3SKA_Thickness;
- this.GetJointPosition=GetR3SKA_JointPosition;
- this.SetJointPosition=SetR3SKA_JointPosition;
- this.GetAttachOrientation=GetR3SKA_AttachOrientation;
- this.SetAttachOrientation=SetR3SKA_AttachOrientation;
- this.GetAnimRootPos=GetR3SKA_AnimRootPos;
- this.SetAnimRootPos=SetR3SKA_AnimRootPos;
- this.GetDrawAngles=GetR3SKA_DrawAngles;
- this.SetDrawAngles=SetR3SKA_DrawAngles;
- this.GetTargetId=GetR3SKA_TargetId;
- this.SetTargetId=SetR3SKA_TargetId;
- }
-
- r3Skeleton.prototype=new r3Constructor;
- // r3skel.h_H